<template>
  <div class="common-wrapper">
    <a-tabs :default-active-key="activeKey" @change="tabsChange">
      <a-tab-pane :key="1" tab="固定班次设置">
       <FixedSchedulePage />
      </a-tab-pane>
      <a-tab-pane :key="2" tab="轮班班次设置" force-render>
        <ShiftSchedulePage />
      </a-tab-pane>
    </a-tabs>
   
  </div>
</template>

<script>
import FixedSchedulePage from './components/shiftSetting/FixedSchedulePage.vue'
import ShiftSchedulePage from './components/shiftSetting/ShiftSchedulePage.vue'
export default {
  components: {
    FixedSchedulePage,
    ShiftSchedulePage,
  },
  data() {
    return {
      activeKey: 1
    }
  },
  created() {},
  methods: {
    tabsChange(key) {
        this.activeKey = key
      },
  },
}
</script>

<style lang="less" scoped>
</style>